import { http } from "@/utils";
import type { ReqTeacherListType } from "./type";

// 1、获取名师列表  /api/edu/teacher/{page}/{limit}
export const reqGetTeacherList = (page:number,limit:number) => {
    return http.get<ReqTeacherListType>(`/api/edu/teacher/${page}/${limit}`)
}

// 获取名师详情  /api/edu/teacher/{id}
// export const reqGetTeacherDetail = (id:string) => {
//     return http.get<TeacherDetailType>(`/api/edu/teacher/${id}`)
// }